<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			#box{
				width:350px;
				height:350px;
				border:1px solid red;
			}
		</style>
		<script>
			window.onload = function(){
				var oBox = document.getElementById("box");
				oBox.onmousedown = function(ev){
					var e = window.event || ev;
					console.log(e);
				}
			}
		</script>
	</head>
	<body>
		<div id="box"></div>
	</body>
</html>
